package com.dmjj.cad.dao;

import com.dmjj.cad.dto.FloorplanDTO;
import com.dmjj.cad.dto.GraphDTO;
import com.dmjj.cadcommon.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 平面图管理表数据层处理接口
 * @Author zhangxue
 * @Date 2019-04-19 10:39:23
 */
@Mapper
public interface FloorplanMapper extends BaseMapper<FloorplanDTO, Long> {

    int deleteGraphByFloorplanId(Long id);

    List<GraphDTO> selectGraphIdByFloorPlanId(Long id);

    Integer deleteGraphSonByGraphIds(Map<String,String> map);
}
